-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[frontend] Dismiss info alert popup messages after 3 seconds (along with Unit Test) #3642
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Lets also add a unit test for this like we discussed in yesterdays meeting. Was 3 seconds the time span used for the old messages? It seems a bit short but perhaps it is ok.
984a47a
to
e5181cf
Compare
Bjorn, can you please have a look now? Are we good to merge it now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work
What changes were proposed in this pull request?
The info alert popup messages will automatically go after 3 seconds from when it is shown. Since, the error and warning messages are important and we want the user to close them themselves, so such a timer is only used for the info messages.
How was this patch tested?
Attached a demo video.
The patch is manually tested on the Hue UI using a stopwatch of 3 seconds.
Demo_testing.mov
Please review Hue Contributing Guide before opening a pull request.